﻿<%@ Page Language="C#" ValidateRequest="false" AutoEventWireup="true" CodeFile="edit.aspx.cs" Inherits="admin_news_edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>编辑文章</title>
    <link href="../lib/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <script src="../lib/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../lib/bootstrap/validation/bootstrap-validation.min.js" type="text/javascript"></script>
    <script src="../ueditor/editor_config_min.js" type="text/javascript"></script>
    <script src="../ueditor/editor_all_min.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" class="form-horizontal" runat="server">
    <div>
        <div class="control-group">
            <label class="control-label">标题</label>
            <div class="controls">
                <asp:TextBox ID="txtTitle" runat="server" check-type="required" placeholder="请输入文章标题..."></asp:TextBox>
            </div>
        </div>
        <div class="control-group">
            <div class="controls">
                <textarea name="content" id="content" check-type="required"></textarea>
                <script type="text/javascript">
                    UE.getEditor("content");
                    $('#form1').validation();
                </script>
            </div>
        </div>
        <div class="form-actions">    
            <asp:Button ID="btnAdd" CssClass="btn btn-primary" runat="server" Text="添 加" />
            <input type="button" value="返 回" class="btn btn-primary" onclick="javascript:window.location.href='list.aspx'" />
        </div>
    </div>
    </form>
</body>
</html>
